package com.macro.mall.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 观光车预约信息
 * Created by macro on 2018/4/26.
 */
@Data
@JsonInclude(JsonInclude.Include.ALWAYS)
public class BmsSightseeingBusApplicant {
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("观光车id")
    private Long sightseeingBusId;

    @ApiModelProperty("乘车点位id")
    private Long sightseeingBusPointId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("用户电话")
    private String userPhone;

    @ApiModelProperty("用户证件类型(字典表维护)")
    private Long userIdType;

    @ApiModelProperty("用户证件号码")
    private String userIdCard;

    @ApiModelProperty("用户预约时间")
    private Date applicationTime;

    @ApiModelProperty("二维码")
    private String qrCode;

    @ApiModelProperty("应付金额")
    private BigDecimal shouldPayment;

    @ApiModelProperty("实付金额")
    private BigDecimal actualPayment;

    @ApiModelProperty("优惠券id")
    private Long couponId;

    @ApiModelProperty("乘车人数")
    private Integer peopleNumber;

    @ApiModelProperty("状态：0-已预约；1-已乘车；2-已失效；3-已取消；")
    private Integer status;

    @ApiModelProperty("创建人")
    private Long createUser;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改人")
    private Long updateUser;

    @ApiModelProperty("修改时间")
    private Date updateTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否删除：0-未删除；1-已删除")
    private Boolean isDelete;

    @ApiModelProperty("车辆名称")
    private String sightseeingBusName;
    @ApiModelProperty("点位名称")
    private String sightseeingBusPointName;

    @ApiModelProperty("观光车图片")
    private String pic;

    @ApiModelProperty("观光车开始时间")
    private String openingTime;

    @ApiModelProperty("观光车结束时间")
    private String closeingTime;

    @Override
    public String toString() {
        return "BmsSightseeingBusApplicant{" +
                "id=" + id +
                ", sightseeingBusId=" + sightseeingBusId +
                ", sightseeingBusPointId=" + sightseeingBusPointId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userIdType=" + userIdType +
                ", userIdCard='" + userIdCard + '\'' +
                ", applicationTime=" + applicationTime +
                ", qrCode='" + qrCode + '\'' +
                ", shouldPayment=" + shouldPayment +
                ", actualPayment=" + actualPayment +
                ", couponId=" + couponId +
                ", peopleNumber=" + peopleNumber +
                ", status='" + status + '\'' +
                ", createUser=" + createUser +
                ", createTime=" + createTime +
                ", updateUser=" + updateUser +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                ", isDelete=" + isDelete +
                ", sightseeingBusName='" + sightseeingBusName + '\'' +
                ", sightseeingBusPointName='" + sightseeingBusPointName + '\'' +
                '}';
    }
}
